use serde::{Deserialize, Serialize};
use utoipa::ToSchema;

/// 登录响应
#[derive(Debug, Serialize, Deserialize, Clone, ToSchema, Default)]
pub struct LoginResponse {
    /// 用户ID
    pub user_id: i32,
    /// 昵称
    pub nickname: String,
    /// token
    pub token: String,
}
